package com.jdb.settings.privoder.repository;

import com.jdb.settings.privoder.entity.SettingDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface SettingRepository extends JpaRepository<SettingDO, String>, JpaSpecificationExecutor<SettingDO> {


    Optional<SettingDO> findByKey(String key);
}

